package com.inno.life.domain.convert;

import com.inno.life.domain.entity.MomentBO;
import com.inno.life.infra.basic.entity.PlannerMoment;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface MomentConverter {
    MomentConverter INSTANCE = Mappers.getMapper(MomentConverter.class);

    PlannerMoment convertBOToEntity(MomentBO momentBO);

    List<MomentBO> converEntityListToBOList(List<PlannerMoment> entityResult);

    MomentBO convertEntityToBO(PlannerMoment moment4db);
}
